{% extends "base_manager.html" %}
{% block content %}


		<div class="page-header">
			<h1><span class="text-light-gray">日志 </span></h1>

		</div> <!-- / .page-header -->

<!-- 5. $TIMELINE ==================================================================================

		Timeline

		To use centered layout just add .centered class to the .timeline
		NOTE: IE8 Respond.js has a bug https://github.com/scottjehl/Respond/issues/166
-->
		<div class="timeline">
			<!-- Timeline header -->
			<div class="tl-header now bg-primary">Now</div>
            {% for log in logInfo %}
                {% if log.operationType == '3' %}
			<div class="tl-entry">

				<div class="tl-icon bg-danger"><i class="fa fa-envelope"></i></div>
				<div class="panel tl-body">
                    <h4 class="text-danger">

                        <b>管理员：{{ log.operator }}</b>
                        &nbsp;&nbsp;&nbsp;&nbsp;
                        {{ log.detail }}
                    <span style="float:right;color: black;"  >{{ log.date }}</span></h4>
				</div> <!-- / .tl-body -->
			</div> <!-- / .tl-entry -->
                {% elif log.operationType == '1' %}
			<div class="tl-entry">

				<div class="tl-icon bg-info"><i class="fa fa-comment"></i></div>
				<div class="panel tl-body">
                    <h4 class="text-success">

                        <b>管理员：{{ log.operator }}</b>
                        &nbsp;&nbsp;&nbsp;&nbsp;
                        {{ log.detail }}
                    <span style="float:right;color: black;"  >{{ log.date }}</span></h4>
				</div> <!-- / .tl-body -->
			</div> <!-- / .tl-entry -->
                {% else %}

			<div class="tl-entry">

				<div class="tl-icon bg-default"><i class="fa fa-edit"></i></div>
				<div class="panel tl-body">
                    <h4 class="text-info">

                        <b>管理员：{{ log.operator }}</b>
                        &nbsp;&nbsp;&nbsp;&nbsp;
                        {{ log.detail }}
                    <span style="float:right;color: black;"  >{{ log.date }}</span></h4>
				</div> <!-- / .tl-body -->
			</div> <!-- / .tl-entry -->
                {% endif %}
            {% endfor %}
        </div> <!-- / .timeline -->

{% endblock %}